package string;

public class StringStringBuiderDemo {
    public static void main(String[] args) {
        StringBuilder builder = new StringBuilder("a");
       // String s = "a"; 等同于上面那句!
       // StringBuilder builder = new StringBuilder(s);
        for (int i = 0; i < 10000000; i++) {
            builder.append(i);
        }
        System.out.println("执行完毕");
    }
}
